package com.lx.service.impl;

import com.lx.dao.PrintDishTypeMapper;
import com.lx.model.PrintDishType;
import com.lx.service.PrintDishTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class PrintDisTypeServiceImpl implements PrintDishTypeService{
    @Autowired
    private PrintDishTypeMapper printDishTypeMapper;
    @Override
    public void saveDishType(PrintDishType type) {
        printDishTypeMapper.insert(type);
    }
}
